﻿using Admin.NET.Core;
namespace Admin.NET.Core;

/// <summary>
/// 账号绑定
/// </summary>
[SugarTable("UserBind","账号绑定")]
public class UserBind  : EntityBase
{
    /// <summary>
    /// 钉钉UserId
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "DingUserId", ColumnDescription = "钉钉UserId", Length = 20)]
    public string DingUserId { get; set; }
    
    /// <summary>
    /// 用户表UserId
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "UserId", ColumnDescription = "用户表UserId")]
    public long UserId { get; set; }
    
}
